<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>物料记录</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<link href="/sbm/css/screen.css" rel="stylesheet" type="text/css">

</head>

<body>
	<s:form action="modifyitem" method="post" enctype="multipart/form-data"
		name="myform">
		<table width="600px" align="center" class="class1">
			<tr>
				<td colspan="3" align="right"><span class="title">修改物料信息</span>
				</td>
			</tr>
			<tr>
				<td width="10%">&nbsp;</td>
				<td>
					<table>
						<tr>
							<td>物料名称</td>
							<td><s:textfield name="item.name" /><s:hidden name="item.itemid" /></td>
						<tr>
						<tr>
							<td>物料描述</td>
							<td><s:textfield name="item.description" /></td>
						</tr>
						<tr>
							<td>物料单位</td>
							<td><s:textfield name="item.unit" />
							</td>
						</tr>
						<tr>
							<td>物料所属类别</td>
							<td><s:property value="item.first" />(<s:property value="item.second" />)
							</td>
						</tr>
						<tr>
							<td>修改类别</td>
							<td><s:doubleselect headerValue="请选择一级分类" headerKey="-1"
									name="catid" list="first" listKey="catid" listValue="first"
									listCssStyle="width:160px" doubleList="catmap.get(top.catid)"
									doubleName="second" doubleListKey="catid"
									doubleListValue="second" doubleHeaderKey="-1"
									doubleHeaderValue="请选择二级分类" doubleListCssStyle="width:160px" />
							</td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td>&nbsp;&nbsp;&nbsp;&nbsp;<input name="Submit"
								type="submit" value="确 认" /></td>
						</tr>
						<tr>
							<td height="35" colspan="2" class="top_hui_text" align="center"
								colspan="2"><span class="errorAndmes"><s:actionerror
										cssStyle="font-family: Arial,Helvetica,sans-serif" /> </span></td>
						</tr>
					</table>
				</td>
				<td width="30%">&nbsp;</td>
		</table>
	</s:form>
</body>
</html>